using System.Collections.Generic;

namespace OracleInternal.SqlAndPlsqlParser.LocalParsing
{
	internal class OracleLpStarExpression : OracleLpExpression
	{
		public OracleLpStarExpression(OracleLpStatementElement parent)
			: base(parent)
		{
			m_vExpressionType = OracleLpExpressionType.STAR_EXPRESSION;
		}

		public override void EvaluateDatatype()
		{
		}

		public override IList<OracleLpExpression> GetAllTerminalExpressions()
		{
			if (m_vAllTerminalExpressions == null)
			{
				m_vAllTerminalExpressions = new List<OracleLpExpression>();
				m_vAllTerminalExpressions.Add(this);
			}
			return m_vAllTerminalExpressions;
		}
	}
}
